<#include "/WEB-INF/default/fragment/header.ftl">
<body>

<#include "/WEB-INF/default/fragment/nav.ftl">

<div class="container">

<div class="tms-logo"><img class="center-block" src="${request.contextPath}/assets/images/logo.png" alt=""></div>
<form action="${request.contextPath}/register_step1.action" method="post">
    <fieldset>
        <#-- <legend>
          <#assign registerStepIndex=0 >
          <#include "/WEB-INF/default/fragment/register_steps.ftl">
        </legend> -->
        <div class="form-group">
            <label for="exampleInputEmail1">邮箱</label>
            <input type="text" class="form-control" name="user.email" value="<#if user?exists && user.email?exists>${user.email}</#if>" placeholder="Email">
            <#if fieldErrors?exists && fieldErrors['user.email']?exists>
            <p class="help-block">${fieldErrors['user.email']}</p>
            </#if>
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">密码</label>
            <input type="password" class="form-control" name="user.passwd" value="<#if user?exists && user.passwd?exists>${user.passwd}</#if>">
            <p class="help-block">${fieldErrors['user.passwd']!""}</p>
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">确认密码</label>
            <input type="password" class="form-control" name="user.repasswd" value="<#if user?exists && user.repasswd?exists>${user.repasswd}</#if>">
            <p class="help-block">${fieldErrors['user.repasswd']!""}</p>
        </div>

        <button type="submit" class="btn btn-block btn-success">下一步</button>
    </fieldset>
</form>

</div>
</body>
<#include "/WEB-INF/default/fragment/footer.ftl">
